<?php
if ( !$md_FoundAction )
{
	$md_FoundAction		=	true;
	
	if (isset($_GET['action']) && $_GET['action'] == 'upload')
	{
		include('addons/contentserver/upload.php');
	}
	elseif (isset($_GET['action']) && $_GET['action'] == 'downloadblocks')
	{
		include('addons/contentserver/downloadblocks.php');
	}
	elseif (isset($_GET['action']) && $_GET['action'] == 'login')
	{
		$include_me = "addons/contentserver/login.php";
		include('addons/shared/index.php');
	}
	elseif (isset($_GET['action']) && $_GET['action'] == 'reportbandwidthusage')
	{
		$include_me = "addons/contentserver/reportbandwidthusage.php";
		include('addons/shared/index.php');
	}
	elseif (isset($_GET['action']) && $_GET['action'] == 'users')
	{
		$include_me = "addons/contentserver/users.php";
		include('addons/shared/index.php');
	}
	elseif (isset($_GET['action']) && ( $_GET['action'] == 'frontpage' || $_GET['action'] == '' ) || !isset($_GET['action']) )
	{
		$include_me = "addons/contentserver/frontpage.php";
		include('addons/shared/index.php');
	}
	else
	{
		$md_FoundAction		=	false;
	}

	
}
?>